<template>
  <edu-page-tabs :tab-list="xTabs" />
</template>

<script>
import EduPageTabs from '@public/template/tabs/page_tabs.vue';
export default {
  components: {
    EduPageTabs
  },
  data() {
    return {
      xTabs: [
        {
          title: '数据概况',
          uri: '/data/survey',
          meta: {
            permission: 'data.survey'
          }
        },
        {
          title: '流量分析',
          uri: '/data/analysis/visit',
          meta: {
            permission: 'data.analysis.visit'
          }
        },
        {
          title: '订单分析',
          uri: '/data/analysis/order',
          meta: {
            permission: 'data.analysis.order'
          }
        },
        {
          title: '交易分析',
          uri: '/data/analysis/transaction',
          meta: {
            permission: 'data.analysis.transaction'
          }
        },
        {
          title: '课程分析',
          uri: '/data/analysis/course',
          meta: {
            permission: 'data.analysis.course'
          }
        },
        {
          title: '用户分析',
          uri: '/data/analysis/student',
          meta: {
            permission: 'data.analysis.student'
          }
        }
      ]
    };
  }
};
</script>

<style></style>
